package com.ruoyi.buy.service;

import com.ruoyi.buy.domain.entity.PO.BuyMaterialBillItemPO;
import com.ruoyi.buy.domain.entity.PO.BuyMaterialBillPO;
import com.ruoyi.buy.domain.entity.PO.BuyMaterialOtherItem;
import com.ruoyi.buy.domain.entity.buy0002.Buy0002SaveVO;
import com.ruoyi.buy.domain.entity.buy0002.Buy0003SpaImportData;
import com.ruoyi.buy.domain.entity.buy0002.Buy0003SpaImportDataNew;
import com.ruoyi.buy.domain.entity.importPO.BuyMaterialBillItemImport;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * 角色业务层
 * 
 * @author ruoyi
 */
public interface IBuy0002Service
{
    public List<BuyMaterialBillPO> selectMaterialBillList(BuyMaterialBillPO param);

    public int save(Buy0002SaveVO para) throws Exception;

    public Buy0002SaveVO view(BuyMaterialBillPO para) throws Exception;

    public List<BuyMaterialBillItemImport> selectPrices(List<BuyMaterialBillItemImport> list) throws Exception;

    public Map importData(List<MultipartFile> files, String updateSupport, String folderPath) throws Exception;

    public String exportData(Long id) throws Exception;

    public List<BuyMaterialBillItemPO> exportXJDData(List<Buy0003SpaImportDataNew> list, String updateBy, String billID) throws Exception;

}
